package com.learn.sunday.auth.service;

import com.learn.sunday.common.service.ResponseUtil;
import org.springframework.security.core.userdetails.UserDetailsService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService extends UserDetailsService {

    /**
     * 用户登录
     *
     * @param request
     * @param response
     * @return void
     */
    void login(HttpServletRequest request, HttpServletResponse response);

    ResponseUtil getUserList();
}
